<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri = "http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>电影首页</title>
<script type="text/javascript" src="../js/base/base.js"></script>
<script type="text/javascript" src="../js/video/videoList.js"></script>
<link type="text/css" rel="stylesheet" href="../style/base.css"></link>
<%@ include file="../video/base.jsp" %>
</head>
<body class="easyui-layout">
	<div data-options="region:'center',title:'最新电影推荐'" style="padding:5px;background:#eee;">
		<ul>
			<c:forEach var = "videos" items="${videoList }">
				<li>
					<span><a onclick = "videoList.toVideoDetail(${videos.id });" href = "javascript:void(0);" class = "aSizeColor">${videos.videoName }</a></span>
					<span class = "spanSize"><fmt:formatDate value="${videos.createDate }" pattern="yyyy-MM-dd HH:mm:ss"/></span>
				</li>
			</c:forEach>
		</ul>
	</div>
</body>
</html>
